package com.geaosu.filesselector;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.ListView;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {
    private TextView tvSelectFile;
    private ListView mListView;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        tvSelectFile = (TextView) findViewById(R.id.tvSelectFile);
        mListView = (ListView) findViewById(R.id.mListView);

        tvSelectFile.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                FilesManager.selectSingleFile(MainActivity.this);
            }
        });

    }
}